package be.ad.coffeebreak.web.commands;

import be.ad.coffeebreak.web.Command;
import be.ad.coffeebreak.web.ServiceLocator;
import be.ad.coffeebreak.web.WebConstants;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author Stefan Bangels
 */
public final class UserDetailsCommand implements Command {

    protected ServiceLocator serviceLocator;

    public UserDetailsCommand(ServiceLocator serviceLocator) {
        this.serviceLocator = serviceLocator;
    }

    @Override
    public String execute(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        return WebConstants.VIEW_USER_DETAILS;
    }

}
